<template>
	<view class="rim">
		<view class="suspension">切换地图</view>
		<block v-for="(item,index) in list" :key="index">
		<rim-list :list="item"> </rim-list>
		</block>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[
					{id:0,site:"工业园区新湖街328号",address:"苏州工业园区新湖街328号创意产业园15栋门口",state:"正常",distance:500,value:"正常运输中，可以前往投递"},
					{id:1,site:"工业园区新湖街328号",address:"苏州工业园区新湖街328号嘤嘤园15栋门口",state:"箱满",distance:300,value:"箱满无法投递，等待工作人员清柜中"}
				]
			};
		}
	}
</script>

<style lang="less" scoped>
.rim{
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100vw;
	min-height: 100vh;
	background-color: #f5f5f5;
}
.suspension{
	position: fixed;
	left: 0;
	top: 50rpx;
	color: #ffffff;
	height: 46rpx;
	width: 140rpx;
	background-color: #303030;
	opacity: 0.5;
	text-align: center;
	font-size: 26rpx;
	line-height: 46rpx;
	border-radius:  0rpx 8rpx 8rpx 0rpx;
}
</style>
